package org.millioncall.yueyoga.admin.service;

import java.util.List;
import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Place;

public interface PlaceService {
	public int deleteByPrimaryKey(Integer id);

    public boolean insert(Place record);

    public int insertSelective(Place record);

    public Place selectByPrimaryKey(Integer id);

    public int updateByPrimaryKeySelective(Place record);

    public int updateByPrimaryKey(Place record);
    
    public List<Place> findAll(Map<String, Object> map);
    
    public Place findPlaceById(Integer id);

	public PaginatedList<Place> getPlaseInPage(int start, int pageSize);

	public boolean updatePlace(Place place);

	public void deletePlaseByIds(Integer[] deids);

	public PaginatedList<Place> getPlaseInPage(int start, int pageSize,
			Map<String, Object> map);

	public List<Place> findAllByOrganizationId(Map<String, Object> map);
}
